#基础URL
from unittest.mock import DEFAULT

BASE_URL = "http://localhost:9876"

#请求头配置
DEFAULT_HEADERS = {
    "Content-Type": "application/json"
}

#注册接口路径
REGISTER_PATH = "/api/user/register"
#登录接口路径
LOGIN_PATH = "/api/user/login"
#管理员登录
MANAGERLOGIN_PATH = "/api/user/manageLogin"
#新增商品的url
ADDITEM_PATH = "/api/item"

#完整的注册接口URL
REGISTER_URL= f"{BASE_URL}/{REGISTER_PATH}"
#完整的登录接口URL
LOGIN_URL= f"{BASE_URL}/{LOGIN_PATH}"
#完整的管理员登录接口URL
MANAGERLOGIN_URL= f"{BASE_URL}/{MANAGERLOGIN_PATH}"
#完整的添加商品接口URL
ADDITEM_PATH= f"{BASE_URL}/{ADDITEM_PATH}"



#主机地址
LOCALHOST_PATH = "127.0.0.1"

#管理员登录
admin_login = {
     "username": "admin",
     "password": "123456"
}